package com.hzdl.apple.bean;

import java.io.Serializable;

public class User implements Serializable{
	private int UID;
	private String UName;
	private String ULoginId;
	private String ULoginPsw;
	
	private String UAddress;
	private String UPhoneNum;
	private String UMessage;

	public User(int uID, String uName, String uLoginId, String uPsw, String uAddress, String uPhoneNum) {
		super();
		UID = uID;
		UName = uName;
		ULoginId = uLoginId;
		ULoginPsw = uPsw;
		UAddress = uAddress;
		UPhoneNum = uPhoneNum;
	}
	
	
	public User(String uName, String uMessage) {
		super();
		UName = uName;
		UMessage = uMessage;
	}


	public User(String uName, String uLoginId, String uLoginPsw, String uAddress, String uPhoneNum) {
		super();
		UName = uName;
		ULoginId = uLoginId;
		ULoginPsw = uLoginPsw;
		UAddress = uAddress;
		UPhoneNum = uPhoneNum;
	}
	


	

	public User(String uName, String uLoginId, String uLoginPsw) {
		super();
		UName = uName;
		ULoginId = uLoginId;
		ULoginPsw = uLoginPsw;
	}


	public User() {
		super();
	}

	public int getUID() {
		return UID;
	}

	public void setUID(int uID) {
		UID = uID;
	}

	public String getUName() {
		return UName;
	}

	public void setUName(String uName) {
		UName = uName;
	}

	public String getULoginId() {
		return ULoginId;
	}

	public void setULoginId(String uLoginId) {
		ULoginId = uLoginId;
	}

	public String getULoginPsw() {
		return ULoginPsw;
	}

	public void setULoginPsw(String uLoginPsw) {
		ULoginPsw = uLoginPsw;
	}

	public String getUAddress() {
		return UAddress;
	}

	public void setUAddress(String uAddress) {
		UAddress = uAddress;
	}

	public String getUPhoneNum() {
		return UPhoneNum;
	}

	public void setUPhoneNum(String uPhoneNum) {
		UPhoneNum = uPhoneNum;
	}

	
	public String getUMessage() {
		return UMessage;
	}


	public void setUMessage(String uMessage) {
		UMessage = uMessage;
	}


	@Override
	public String toString() {
		return "User [UID=" + UID + ", UName=" + UName + ", ULoginId=" + ULoginId + ", ULoginPsw=" + ULoginPsw
				+ ", UAddress=" + UAddress + ", UPhoneNum=" + UPhoneNum + ", UMessage=" + UMessage + "]";
	}


	
	
}
